import service from '@/utils/request'

const HomeApi = {
  // ----------------首页接口--------------
  serviceAnalysisCms:function(data){
    return service.get('api/statistics/serviceAnalysisCms', {params:data})
  },
  situationCms:function(data){
    return service.get('api/statistics/situationCms', {params:data})
  },
  todayAnalysisCms:function(data){
    return service.get('api/statistics/todayAnalysisCms', {params:data})
  },
  receivedOrderLimitFive:function(data){
    return service.get('api/statistics/receivedOrderLimitFive', {params:data})
  },
  getVillageOrder:function(data){
    return service.get("api/statistics/villageOrder",{params:data})
  },
  getBusinessOrder:function(data){
    return service.get("api/statistics/businessOrder",{params:data})
  }
}

export default HomeApi
